[Top] [Prev] [Next] [Bottom]
[Contents]
SaJavaCardCheck
Prints a Java Script function which checks if a string is in a valid Credit Card number format.
#include "sajavasc.h"
int SaJavaCardCheck();
Argument
None
Returns an integer with a value of 0.
Prints a Java Script function which checks if a string is in a valid Credit Card number format A valid format is of the forms: #####-####-####-##### or #####-######-#####.
The code fragment:
SaJavaCardCheck();
will write a string to standard out which is equivalent to the contents of the file:
config\htmlstyle\YValCreditFormat.js
in the Sapphire distribution.
SaJavaSsnCheck, SaJavaZipCheck, SaJavaNoEmptyFields
SaJavaDateFixNow, SaJavaIsAllDigits, SaJavaIsAllLetters
SaJavaIsFieldNotBlank, SaJavaValEmail, SaJavaState, SaJavaSimpleFormat
SaRegJsScripts, SaPrintJsScripts, SaJavaCallFunc
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.